<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head th:replace="base::head(~{})"></head>
<body>
	<div class="x-body layui-anim layui-anim-up">
		<fieldset class="layui-elem-field layui-field-title">
			<legend>详情</legend>
		</fieldset>
		<form id="form" class="layui-form layui-form-pane" action="">
			<div class="layui-form-item">
				<label class="layui-form-label">用户名</label>
				<div class="layui-input-inline">
					<input type="hidden" name="id" th:value="${systemUser.id}">
					<input type="text" name="name" autocomplete="off" th:value="${systemUser.name}" readonly="readonly" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">姓名</label>
				<div class="layui-input-inline">
					<input type="text" name="fullName" autocomplete="off" th:value="${systemUser.fullName}" readonly="readonly" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">手机号</label>
				<div class="layui-input-inline">
					<input type="text" name="phone" autocomplete="off" th:value="${systemUser.phone}" readonly="readonly" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">邮箱</label>
				<div class="layui-input-inline">
					<input type="text" name="email" autocomplete="off" th:value="${systemUser.email}" style="width: 400px;" readonly="readonly" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item" pane="" style="width: 297px;">
				<label class="layui-form-label">状态</label>
				<div class="layui-input-block">
					<input type="radio" name="status" value="0" title="启用" th:if="${systemUser.status} == 0" checked="checked">
					<input type="radio" name="status" value="1" title="禁用" th:if="${systemUser.status} == 1" checked="checked">
				</div>
			</div>
			<a href="javascript:;" id="close" class="layui-btn">关闭</a>
		</form>
	</div>
</body>
<script>
	layui.use([ 'layer' ], function() {
		var layer = layui.layer;
		$('#close').on('click', function() {
			admin_close_iframe_window();
		});
	});
</script>
</html>